package com.ruoyi.report.domain;

import java.math.BigDecimal;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购计划对象 report_plan
 * 
 * @author ruoyi
 * @date 2024-10-12
 */
public class ReportPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 计划采购量 */
    @Excel(name = "计划采购量")
    private BigDecimal purchaseQuantity;

    /** 异常情况 */
    @Excel(name = "异常情况")
    private String error;

    /** 汇报人 */

    private Long reportUserId;

    /** 工作人 */

    private Long workUserId;

    /** $column.columnComment */
    @Excel(name="计划名称",sort = 1)
    private String extra1;

    /** $column.columnComment */
    @Excel(name = "炼厂分配信息",width = 200)
    private String extra2;

    /** $column.columnComment */
    private String extra3;

    /** $column.columnComment */
    private String extra4;

    @Excel(name = "工作人")
    private String workName;
    @Excel(name = "汇报人")
    private String reportName;


    public String getWorkName() {
        return workName;
    }

    public void setWorkName(String workName) {
        this.workName = workName;
    }

    public String getReportName() {
        return reportName;
    }

    public void setReportName(String reportName) {
        this.reportName = reportName;
    }

    /** $table.subTable.functionName信息 */
    private List<ReportPlanDetail> reportPlanDetailList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPurchaseQuantity(BigDecimal purchaseQuantity) 
    {
        this.purchaseQuantity = purchaseQuantity;
    }

    public BigDecimal getPurchaseQuantity() 
    {
        return purchaseQuantity;
    }
    public void setError(String error) 
    {
        this.error = error;
    }

    public String getError() 
    {
        return error;
    }
    public void setReportUserId(Long reportUserId) 
    {
        this.reportUserId = reportUserId;
    }

    public Long getReportUserId() 
    {
        return reportUserId;
    }
    public void setWorkUserId(Long workUserId) 
    {
        this.workUserId = workUserId;
    }

    public Long getWorkUserId() 
    {
        return workUserId;
    }
    public void setExtra1(String extra1) 
    {
        this.extra1 = extra1;
    }

    public String getExtra1() 
    {
        return extra1;
    }
    public void setExtra2(String extra2) 
    {
        this.extra2 = extra2;
    }

    public String getExtra2() 
    {
        return extra2;
    }
    public void setExtra3(String extra3) 
    {
        this.extra3 = extra3;
    }

    public String getExtra3() 
    {
        return extra3;
    }
    public void setExtra4(String extra4) 
    {
        this.extra4 = extra4;
    }

    public String getExtra4() 
    {
        return extra4;
    }

    public List<ReportPlanDetail> getReportPlanDetailList()
    {
        return reportPlanDetailList;
    }

    public void setReportPlanDetailList(List<ReportPlanDetail> reportPlanDetailList)
    {
        this.reportPlanDetailList = reportPlanDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("purchaseQuantity", getPurchaseQuantity())
            .append("createBy", getCreateBy())
            .append("error", getError())
            .append("createTime", getCreateTime())
            .append("reportUserId", getReportUserId())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("workUserId", getWorkUserId())
            .append("extra1", getExtra1())
            .append("extra2", getExtra2())
            .append("extra3", getExtra3())
            .append("extra4", getExtra4())
            .append("reportPlanDetailList", getReportPlanDetailList())
            .toString();
    }
}
